﻿using Admin.CommonLib.Models.Organization;
using Swimj.CommonLib.Base;

namespace Admin.RazorLib.Services
{
    public interface IOrganizationService
    {
        Task<Result<HashSet<OrganizationTreeResponseDto>>> QueryOrganizationsByTree();

        Task<PaginatedResult<OrganizationInfoResponseDto>>
            QueryOrganizations(OrganizationSearchRequestDto searchRequestDto);
    }
}